package com.iflytek.universitymanagement.service.impl;

import com.iflytek.universitymanagement.domain.PsychologicalAssessment;
import com.iflytek.universitymanagement.mapper.PsychologicalAssessmentMapper;
import com.iflytek.universitymanagement.service.PsychologicalAssessmentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PsychologicalAssessmentServiceImpl extends ServiceImpl<PsychologicalAssessmentMapper, PsychologicalAssessment> implements PsychologicalAssessmentService {

    @Autowired
    private PsychologicalAssessmentMapper psychologicalAssessmentMapper;

    @Override
    public List<PsychologicalAssessment> listAll() {
        return psychologicalAssessmentMapper.selectList(null);
    }
}
